package com.allenyuan.render;

public abstract class AbstractRenderer implements Renderer{
	
	public abstract void drawBezier3(int x0, int y0, int x1, int y1, int x2, int y2, int x3, int y3);
	
	public abstract void drawCircle(int x, int y, int r);
	
	public abstract void drawLine(int x1, int y1, int x2, int y2);
	
	public abstract void drawText(int x, int y, String text, String font, int size);
	
	public abstract void drawImage(int x, int y, int width, int height, int[] img);
	
	public abstract void drawRectangle(int x, int y, int width, int height);
	
	public abstract void setTransform(double[] transform);
	
	public abstract void setPenColor(int color);
	
	public abstract void fill(int color);
	
	protected RenderStroke stroke = new RenderStroke(false, 1);

	public RenderStroke getStroke() {
		return stroke;
	}

	public void setStroke(RenderStroke stroke) {
		this.stroke = stroke;
	}
	
	

}
